.reader-page {
  background: rgb(39, 40, 34);
  background-size: 100% 100%;
  width: 100%;
  height: 100%;
  font-size: 14px;
  font-family: 微软雅黑, Arial, Helvetica, sans-serif;
  color: #aaa;
  transition: all 0.3s;
}
@keyframes move-up {
  from {
    top: 0;
    opacity: 1;
  }
  to {
    top: -32px;
    opacity: 0;
  }
}
.reader-tool-bar {
  background: rgba(247, 247, 247, 0.8);
  position: absolute;
  left: 0;
  top: -32px;
  width: 100%;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: move-up 1s;
  transition: all 0.3s;
  box-shadow: 0 0 5px black;
  user-select: none;
  .b-button {
    margin: 0 5px;
  }
  &:hover {
    animation: none;
    top: 0px;
    opacity: 1;
  }
  &.down {
    animation: none;
    top: 0px;
    opacity: 1;
  }
}
.pre-content {
  width: 100%;
  height: 100%;
  padding: 32px 20px 20px 20px;
  box-sizing: border-box;
  overflow: auto;
  margin: 0;
  pre {
    white-space: pre-wrap;
    font-family: inherit;
  }
  &::-webkit-scrollbar {
    display: none;
  }
}
.reader-setting-btn {
  position: fixed;
  color: white;
  right: 10px;
  bottom: 10px;
  font-size: 24px;
  background: gray;
  height: 30px;
  width: 30px;
  text-align: center;
  line-height: 27px;
  border-radius: 15px;
  opacity: 0.2;
  cursor: pointer;
  transition: all 0.3s;
  user-select: none;
  &:hover {
    opacity: 0.9;
  }
}
.reader-setting-container {
  background: rgba(247, 247, 247, 0.8);
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 0 5px black;
  transition: all 0.3s;
  user-select: none;
  .reader-font-setting {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 32px;
  }
  .reader-themes {
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: 14px;
    span {
      display: block;
      width: 52px;
      height: 26px;
      line-height: 26px;
      text-align: center;
      margin: 5px;
      box-shadow: 0 0 5px gray;
      border-radius: 5px;
      cursor: pointer;
      box-sizing: border-box;
      transition: box-shadow 0.3s;
      &:hover {
        line-height: 24px;
        box-shadow: 0 0 5px black;
        border: 1px solid gray;
      }
    }
  }
}
.font-selection {
  background: white;
  ul {
    margin: 0;
    padding: 0;
    list-style: none;
    li {
      padding: 5px 8px;
      transition: 0.3s;
      cursor: pointer;
      &:hover {
        background: rgba(0, 0, 0, 0.1);
      }
    }
  }
}
